<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>${articleDto.title}</title>
    <link href="${contextPath}/resources/css/weui/weui.css" rel="stylesheet">
</head>
<body>
<div class="page" style="margin:0 5px;">
    <c:if test="${articleDto.publish}">
        <div class="hd">
            <h2 style="color:${articleDto.color};font-weight:
            <c:if test="${articleDto.strong}">bold</c:if>
            <c:if test="${not articleDto.strong}">normal</c:if>">${articleDto.title}</h2>

                <%--<p class="small_title">${articleDto.lastModifyTime}</p>--%>
        </div>
        <div class="bd">
            <section>
                <section>
                    <p>${articleDto.content}</p>
                </section>
            </section>
        </div>
    </c:if>
    <c:if test="${not articleDto.publish}">
        该文章不存在,或尚未发布!
    </c:if>
</div>
</body>
</html>